package v1

import (
	"github.com/gogf/gf/v2/frame/g"
	"github.com/gogf/gf/v2/net/ghttp"
)

type UploadPictureReq struct {
	g.Meta `path:"/upload/picture" tags:"公共方法" method:"post" mine:"multipart/form-data" summary:"上传图片"`
	File   *ghttp.UploadFile `form:"file" v:"required#图片不能为空" description:"图片"`
}
type UploadPictureRes struct {
	Url string `json:"url"`
}
